package com.unit2.test;

import com.unit2.pojo.Master;

/**
 * @author 李琦 on 2021/8/4.
 * @version java version "16.0.1" 2021-04-20
 */
public class test12Master {
    public static void main(String[] args) {
//        Master m1=new Master();//不可实例化
        Master m1=Master.getMaster();//只执行一次
        Master m2=Master.getMaster();
        Master m3=Master.getMaster();
    }
}
